//
//  PSmallLight.h
//  ProjectL
//
//  Created by Nguyen Tan Loc on 8/16/13.
//  Copyright (c) 2013 Nguyen Tan Loc. All rights reserved.
//

#import "CCSprite.h"
#import "DynamicObjectInterface.h"

@class PLine;

typedef enum
{
    eSLS_APPEAR = 0,
    eSLS_MOVING,
    eSLS_DISAPPEAR,
    eSLS_DELAY,
} eSmall_Light_State;

@interface PSmallLight : CCSprite <DynamicObjectInterface>
{
    float mTransferPercent;
    float mAppearDelayTime;
    eSmall_Light_State mState;
    PLine *mLine;
}

-(id) initWithLine:(PLine *)line;

@end
